package com.chenxiao.Mediator;

/**
 * @Author: CX
 * @Date: Created in  2024/04/07 14:44
 * @version: v1.0
 * @Description: TODO 实现中介者
 **/
public class ChatRoom implements ChatMediator{
    @Override
    public void send(String message, User user) {
        System.out.println(user.name + ": " + message);
    }
}
